package com.peko;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author：Peko
 * @Description：TODO
 * @Date：Created in 12:06 2023/8/2
 */

@SpringBootApplication
@EnableDiscoveryClient
//开启openFeign客户端调用
@EnableFeignClients
//开启Hystrix熔断
//@EnableCircuitBreaker
public class OpenFeignHystixApplication {
    public static void main(String[] args) {
        SpringApplication.run(OpenFeignHystixApplication.class,args);
    }
}
